package com.magictower.primary.activity;

import android.annotation.TargetApi;
import android.os.Build;

/**
 * @author kejunzhan
 * @since 2017/12/12
 */

public class _TestNote {
    @TargetApi(Build.VERSION_CODES.N)
    public static void main(String[] args) {
        new Thread() {
            @Override
            public void run() {
//                System.out.println("Hello world");
//                double before = System.currentTimeMillis();
//                for (int i = Integer.MIN_VALUE; i < Integer.MAX_VALUE; i++) {
//                    BlackNumberInfo d = new BlackNumberInfo();
//                }
//                double after = System.currentTimeMillis();
//                System.out.println(after-before);
//                before = System.currentTimeMillis();
//                BlackNumberInfo d;
//                for (int i = Integer.MIN_VALUE; i < Integer.MAX_VALUE; i++) {
//                    d = new BlackNumberInfo();
//                }
//                after = System.currentTimeMillis();
//                System.out.println(after-before);

                System.out.println("print: " + Integer.MIN_VALUE);
                System.out.println("print: " + new Long(2<<30).intValue());
                System.out.println("print: " + new Long(2<<31).intValue());
                System.out.println("print: " + new Long(2<<32).intValue());
                System.out.println("print: " + new Long(2<<33).intValue());
                System.out.println("print: " + new Long(2<<34).intValue());
            }
        }.start();
    }

}
